﻿<?php
use think\Config;
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo Config::get('appname');?></title>
<link href="/static/css/default.css" rel="stylesheet" type="text/css">
<link href="/static/css/style/green.css" rel="stylesheet" type="text/css" id = 'link'>
</head>

<body>

<!--loginbox start-->
<div class="loginbox">

	<div class="login">
	 <div class="loginlogo"></div> 
        <form name="form1" action="/Index/Index/login" method="post">
        <div class="loginpanel">
        	<h2><?php echo Config::get('appname');?></h2>
            <ul class="userlogin">
            <li><i class="iconfont">&#xe600;</i><input type="text" class="loginuser" name="username"  placeholder="用户名" ></li>
            <li><i class="iconfont">&#xe616;</i><input type="password" class="loginpassword" name="password" value=""  placeholder="密码"/> </li>
            <li><a href="javascript:document.form1.submit();">登录</a></li>
            <li><span><input type="checkbox" name="logincheck" value="1" class="logincheck"></span>记住我的信息
            
                
            </li>
            </ul>
            <ul>
                <li style="text-align:right;  margin-right: 30px;">
                        <a href="/Index/Index/findpass">忘记密码?</a>
                </li>
            </ul>
        </div>
        </form>
        
        <div class="logininfo"><?php echo Config::get('systeminfo');?></div>
    </div> 
    
</div>
<!--loginbox end-->

</body>
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/skin.js"></script>
<script type="text/javascript">
var height = $(window).height();
	$(".login").css("padding-top",height/2 - $(".login").height()/2);
$(window).resize(function(){
	$(".login").css("padding-top",$(window).height()/2 - $(".login").height()/2);	
});
</script>
</html>
